module.exports = {
  devServer: {
    host: "127.0.0.1",
    port: 8088,
    client: {
      webSocketURL: "ws://127.0.0.1:8088/ws",
    },
    proxy: {
      "/api": {
        target: "http://localhost:8887",
        changeOrigin: true,
        ws: true,
        pathRewrite: {
          "^/api": "",
        },
      },
    },
  },
  lintOnSave: false, // 取消 eslint 验证
};
